package info.fqtech.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: jack
 * @date: 2018/12/18 22:3629
 * @version: 0.1
 * @description: <文件的作用>
 * @modified: <修改说明>
 **/
@Controller
@RequestMapping("/index")
public class IndexController {

    @ResponseBody
    @RequestMapping("/test")
    public String test(String name) {
        return "你好, " + name;
    }


}
